import request from '@/util/request'

export const getInvestinfoAPI = (id: any) => {
  return request({
    url: `/api/investinfo/${id}`,
    method: 'POST',
    data: {"jsonrpc":"2.0","method":"call","id":1658737848554,"params":{"ids":[1,2,3,4,8,9]}}
  })
}

export const getInvestinfoLIstAPI = () => {
  return request({
    url: `/api/investinfo`,
    method: 'POST',
    data: {"jsonrpc":"2.0","method":"call","id":1658737848554,"params":{"ids":[1,2,3,4,8,9]}}
  })
}